package com.zhuangxiaoyan.designpattern.singletonmodel;

/**
 * 使用的枚举的单例模式
 */
public enum SingletonDemo4 {
    INSTANCE;

    public void sayHello() {
        System.out.println("Hello World");
    }
}

